package com.ssm.mapper;

import com.ssm.pojo.Employee;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Author  zxy
 * Date  2022/11/24 下午 4:26
 */
public interface EmployeeMapper {

    List<Employee> getAllEmployee();

    Employee getEmployeeById(@Param("empId") Integer empId);

    void updateEmployee(@Param("employee") Employee employee);

    void deleteEmployeeById(@Param("empId") Integer empId);

    void addEmployee(@Param("employee") Employee employee);
}
